package com.lock.aop.annoation;

import java.lang.annotation.*;

/**
 * 防止重复提交
 *
 * @author lcf
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NoRepeatSubmit {
    /**
     * 锁定时间（秒）默认不限
     */
    long lockSeconds() default -1;
}
